package com.ruoyi.project.exam.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ruoyi.project.exam.domain.ExamRepoModel;
import com.ruoyi.project.exam.domain.QuAnswerModel;
import com.ruoyi.project.exam.domain.QuModel;

public interface QuMapper {

	public List<QuModel> selectQuList(QuModel model);

	public void insertQu(QuModel model);

	public Object selectQuById(@Param("id")String id);

	public void updateQu(QuModel model);

	public int deleteQuByIds(String[] strArray);

	public List<QuModel> selectQuListRandom(ExamRepoModel examRepoModel);

	public void importQu(@Param("repoId")String repoId, @Param("quList")List<QuModel> quList, @Param("quAnswerList")List<QuAnswerModel> quAnswerList);

}
